/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.gxarea.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 点位Entity
 * @author azj
 * @version 2024-09-26
 */
public class Community extends DataEntity<Community> {
	
	private static final long serialVersionUID = 1L;
	private String areacode;		// 点位标识
	private String areaname;		// 点位名称
	private String areatype;		// 点位类型
	private String pname;		// 所属上级
	private String tell;		// 联系电话
	private String add;		// 地址
	private String longitude;		// 经度
	private String latitude;		// 纬度
	private String status;		// 状态
	private List<Business> businessList = Lists.newArrayList();		// 子表列表
	private List<Counter> counterList = Lists.newArrayList();		// 子表列表
	private List<CounterByType> counterByTypeList = Lists.newArrayList();		// 子表列表
	
	public Community() {
		super();
	}

	public Community(String id){
		super(id);
	}

	@ExcelField(title="点位标识", align=2, sort=1)
	public String getAreacode() {
		return areacode;
	}

	public void setAreacode(String areacode) {
		this.areacode = areacode;
	}
	
	@ExcelField(title="点位名称", align=2, sort=2)
	public String getAreaname() {
		return areaname;
	}

	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}
	
	@ExcelField(title="点位类型", dictType="area_value", align=2, sort=3)
	public String getAreatype() {
		return areatype;
	}

	public void setAreatype(String areatype) {
		this.areatype = areatype;
	}
	
	@ExcelField(title="所属上级", dictType="streetType", align=2, sort=4)
	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}
	
	@ExcelField(title="联系电话", align=2, sort=5)
	public String getTell() {
		return tell;
	}

	public void setTell(String tell) {
		this.tell = tell;
	}
	
	@ExcelField(title="地址", align=2, sort=6)
	public String getAdd() {
		return add;
	}

	public void setAdd(String add) {
		this.add = add;
	}
	
	@ExcelField(title="经度", align=2, sort=7)
	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
	@ExcelField(title="纬度", align=2, sort=8)
	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	
	@ExcelField(title="状态", dictType="gxqstatus", align=2, sort=9)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public List<Business> getBusinessList() {
		return businessList;
	}

	public void setBusinessList(List<Business> businessList) {
		this.businessList = businessList;
	}
	public List<Counter> getCounterList() {
		return counterList;
	}

	public void setCounterList(List<Counter> counterList) {
		this.counterList = counterList;
	}
	public List<CounterByType> getCounterByTypeList() {
		return counterByTypeList;
	}

	public void setCounterByTypeList(List<CounterByType> counterByTypeList) {
		this.counterByTypeList = counterByTypeList;
	}
}